package org.devf.fork.imsimulator.socket.dto;

public class MsgContents {
    /**
     * 内容类型 针对聊天的消息
     *
     * @see org.devf.fork.imsimulator.model.MessageContentType
     */
    private Integer contentType;
    /**
     * 内容实体
     */
    private Object contents;

    public MsgContents() {
    }

    public MsgContents(Integer contentType, Object contents) {
        this.contentType = contentType;
        this.contents = contents;
    }

    public Integer getContentType() {
        return contentType;
    }

    public void setContentType(Integer contentType) {
        this.contentType = contentType;
    }

    public Object getContents() {
        return contents;
    }

    public void setContents(Object contents) {
        this.contents = contents;
    }
}
